<?php

/**
 * 
 */
class UI_ListView_ItemThumb extends Z_Component {

    public function __construct($text,$url, $image, $transition="") {
        parent::__construct("<li> ", "</li>");
        $this->add(new Z_Html_Image($image,"","ui-li-icon"));
        $this->add(new Z_Html_Link($url, $text, $transition));
    }

    /*
    public function __construct($text, $image) {
        parent::__construct("<li> ", "</li>");
        $this->add(new Z_Html_Text($text));
        $this->add(new Z_Html_Image($image));
    }*/

}

